package com.md.api.dao;

import com.md.api.entity.ShoppingSpuEvaluate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ShoppingSpuEvaluateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShoppingSpuEvaluate record);

    ShoppingSpuEvaluate selectByPrimaryKey(Integer id);

    List<ShoppingSpuEvaluate> selectAll(@Param("spuId")String spuId, @Param("starNumStart")Integer starNumStart, @Param("starNumEnd")Integer starNumEnd);

    int updateByPrimaryKey(ShoppingSpuEvaluate record);
}